package com.bezzanou.calcule;

import org.apache.log4j.Logger;

public class Calculator {

	private Logger logger = Logger.getLogger(Calculator.class);
	
	public int add(int x, int y){
		logger.debug("add(" + x + ", " + y + ")");
		return x + y;
	}

	public int sub(int x, int y){
		logger.debug("sub(" + x + ", " + y + ")");
		return x - y;
	}
	
	public int mul(int x, int y){
		logger.debug("mul(" + x + ", " + y + ")");
		return x * y;
	}
}
